home *** CD-ROM | disk | FTP | other *** search
/ Languguage OS 2 / Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO / gnu / doschk11.lha / doschk-1.1 / Makefile.in < prev    next >
Makefile  |  1993-05-21  |  3KB  |  116 lines

  1. # Makefile for doschk.    -*- Indented-Text -*-
  2. # Copyright (C) 1993 Free Software Foundation, Inc.
  3.  
  4. # This program is free software; you can redistribute it and/or modify
  5. # it under the terms of the GNU General Public License as published by
  6. # the Free Software Foundation; either version 2, or (at your option)
  7. # any later version.
  8.  
  9. # This program is distributed in the hope that it will be useful,
  10. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12. # GNU General Public License for more details.
  13.  
  14. # You should have received a copy of the GNU General Public License
  15. # along with this program; if not, write to the Free Software
  16. # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  17.  
  18. #### Start of system configuration section. ####
  19.  
  20. srcdir = @srcdir@
  21. VPATH = @srcdir@
  22.  
  23. CC = @CC@
  24.  
  25. INSTALL = @INSTALL@
  26. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  27. INSTALL_DATA = @INSTALL_DATA@
  28.  
  29. DEFS = @DEFS@
  30. LIBS = @LIBS@
  31.  
  32. CFLAGS = -g
  33. LDFLAGS = -g
  34.  
  35. prefix = /usr/local
  36. exec_prefix = $(prefix)
  37.  
  38. bindir = $(exec_prefix)/bin
  39. datadir = $(prefix)/lib
  40. libdir = $(prefix)/lib
  41. infodir = $(prefix)/info
  42.  
  43. # Where to install the manual pages.
  44. mandir = $(prefix)/man/man1
  45. # Extension (not including `.') for the installed manual page filenames.
  46. manext = 1
  47.  
  48. #### End of system configuration section. ####
  49.  
  50. SHELL = /bin/sh
  51.  
  52. LOADLIBES = $(LIBS)
  53.  
  54. DISTFILES = COPYING ChangeLog Makefile.in README configure configure.in doschk.c
  55.  
  56. DISTNAME = doschk-1.1
  57.  
  58. all: doschk
  59.  
  60. .c.o:
  61.     $(CC) -c -I. -I$(srcdir) $(DEFS) $(CPPFLAGS) $(CFLAGS) $<
  62.  
  63. ### targets required by GNU Coding standards ###
  64.  
  65. Makefile: Makefile.in config.status
  66.     ./config.status
  67.  
  68. config.status: configure
  69.     $(srcdir)/configure --srcdir=$(srcdir) --no-create
  70.  
  71. configure: configure.in
  72.     cd $(srcdir); autoconf
  73.  
  74. TAGS:
  75.     cd $(srcdir); etags
  76.  
  77. clean:
  78.     rm -f *.o core a.out doschk
  79.  
  80. mostlyclean: clean
  81.  
  82. distclean: clean
  83.     rm -f Makefile config.status
  84.  
  85. realclean: distclean
  86.     rm -f TAGS
  87.  
  88. dist: $(DISTFILES)
  89.     rm -rf $(DISTNAME)
  90.     mkdir $(DISTNAME)
  91.     ln $(DISTFILES) $(DISTNAME)
  92.     tar --gzip -chf $(DISTNAME).tar.z $(DISTNAME)
  93.     rm -rf $(DISTNAME)
  94.  
  95. install: all
  96.     $(INSTALL_PROGRAM) doschk $(bindir)/doschk
  97.  
  98. uninstall: force
  99.     -cd $(bindir); rm -f doschk
  100.  
  101. ### Actual doschk-specific targets ###
  102.  
  103. doschk: doschk.o
  104.  
  105. check: doschk
  106.     ls -1 * | ./doschk
  107.  
  108. #doschk.info: doschk.texi
  109. #    cd $(srcdir); makeinfo doschk.texi
  110.  
  111. #doschk.dvi: doschk.texi
  112. #    cd $(srcdir); texi2dvi doschk.texi
  113.  
  114. # Prevent GNU make v3 from overflowing arg limit on SysV.
  115. .NOEXPORT:
  116.